package com.trimps.steps.service;

import java.util.HashMap;
import java.util.List;

import com.hotfire.template.common.Paginator;
import com.trimps.steps.exception.SqlOperationsException;
import com.trimps.steps.pojo.Walker;

public interface IWalkerService {
    public List<Walker> getAllWalkers();

    public List<Walker> getWalkersByGroupId(int id);
    public List<Walker> getWalkersByGroupId(int id, Paginator page);

    public int getWalkerCount();
    public int getWalkerCount(HashMap<String, String> map);

    public List<Walker> getWalker(Paginator page);
    public List<Walker> getWalker(Paginator page, HashMap<String, String> map);

    public int save(Walker walker) throws SqlOperationsException;

    public int delById(int id) throws SqlOperationsException;

    public Walker getWalkerByRealyName(String realyName);

}
